package com.af.monitorModule.generator.mapper;

import com.af.monitorModule.generator.entity.Business;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lyz_4dou
 * @since 2022-02-21
 */
@Component
public interface BusinessMapper extends BaseMapper<Business> {

    List<JSONObject> queryValidData();

    List<JSONObject> regularStatistics(int companyId, String modularName,Long btime,Long etime,Long min,Long max);

    List<JSONObject> regularError(int companyId, String modularName,Long btime,Long etime,Long min,Long max);

    List<JSONObject> regularType(int companyId, String modularName,Long btime,Long etime,Long min,Long max);

}
